package copy.pojo;


import copy.express.pojo.NodeStack;


public class PropertyMeta {
    private String targetPropertyName;
    private String resorcePropertyName;
    private String typeTransform;
    //强制转换
    private String cast = null;
    //存储节点
    private NodeStack nodeStack = null;
    //类型转换
    private NodeStack castStack = null;
    //BigDecimal的精度,保留小数点后多少位
    private int scale;
    //BigDecimal的取舍方式,四舍五入等等
    private int round;
    //IF元数据
    private IfMeta ifMeta;


    public PropertyMeta(String targetPropertyName, String resorcePropertyName) {
        this.targetPropertyName = targetPropertyName;
        this.resorcePropertyName = resorcePropertyName;
        //nodeStack = new NodeStack(resorcePropertyName);
    }


    public String getTargetPropertyName() {
        return targetPropertyName;
    }


    public String getResorcePropertyName() {
        return resorcePropertyName;
    }


    public String getTypeTransform() {
        return typeTransform;
    }

    public void setTypeTransform(String typeTransform) {
        this.typeTransform = typeTransform;
    }



    public NodeStack getNodeStack() {
        return nodeStack;
    }

    public void setNodeStack(NodeStack nodeStack) {
        this.nodeStack = nodeStack;
    }


    public String getCast() {
        return cast;
    }

    public void setCast(String cast) {
        this.cast = cast;
    }

    public int getScale() {
        return scale;
    }

    public void setScale(int scale) {
        this.scale = scale;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public IfMeta getIfMeta() {
        return ifMeta;
    }

    public void setIfMeta(IfMeta ifMeta) {
        this.ifMeta = ifMeta;
    }

    public NodeStack getCastStack() {
        return castStack;
    }

    public void setCastStack(NodeStack castStack) {
        this.castStack = castStack;
    }
}
